package DBLayer;

import java.util.ArrayList;

import ModelLayer.Invoice;

public interface IFDBInvoice {
    // get all Customers
    public ArrayList<Invoice> getAllInvoices(boolean retriveAssociation);
    //get one Invoice having the ssn
    public Invoice findInvoice(String invoiceNo, boolean retriveAssociation);
    //find one Invoice having the numberr
    public Invoice searchInvoiceNo( String invoiceNo, boolean retriveAssociation);
    
    //insert a new Invoice
    public int insertInvoice(Invoice inv) throws Exception;
    //update information about an Invoice
    public int Invoice(Invoice inv);
    
    
}